package com.cn.stusy0015.demo001;

/**
 * 测试成绩
 *
 * @author lw
 * @ClassName TestScore.java
 * @Description
 * @createTime 2023年05月19日 18:21:00
 * @date 2023/05/19
 */
public class TestScore {
    public static void main(String[] args) {
        Student student = new Student();
        Score score = new Score();
        float avg=0;
        String name=student.name="Zhangsan";
        student.java = 80;
        student.database = 95;
        student.html = 77;
        avg = score.average(student);
        System.out.println("学生"+name+"平均分："+avg);
    }
}
